from django.conf.urls.defaults import *

urlpatterns = patterns('news.views',
    url(r'^$', 'listing', name='list-news'),
    url(r'^(?P<page>\d+)/$', 'listing', name='list-news'),
    url(r'^(?P<slug>[\w-]+)/(?P<page_id>\d+)/$', 'news_details', name='news-details'),
)
